package com.myjob.service;

import com.myjob.entity.*;
import com.myjob.response.Result;
import org.springframework.stereotype.Service;

/**
 * @author chenyuan
 * @date 2021/1/17 11:53
 */
@Service
public interface ProfileService {
	public Result selectProfileByUserId(String userId);
	/**
	 * 教育经历
	 * @return
	 */
	public Result updateEducationById(Education education);
	public Result deleteEducationById(String educationId);
	public Result addEducation(Education education);

	/**
	 * 项目经验
	 * @return
	 */
	public Result updateProjectById(Project project);
	public Result deleteProjectById(String projectId);
	public Result addProject(Project project);

	/**
	 * 技能
	 * @return
	 */
	public Result updateSkillById(Skill skill);
	public Result deleteSkillById(String skillId);
	public Result addSkill(Skill skill);

	/**
	 * 个人网站
	 * @return
	 */
	public Result updateWebsiteById(Website website);
	public Result deleteWebsiteById(String websiteId);
	public Result addWebsite(Website website);

	/**
	 * 工作经验
	 * @return
	 */
	public Result updateWorkById(Work work);
	public Result deleteWorkById(String workId);
	public Result addWork(Work work);
}
